export default function reducer(
 state={
     chargeData:[]
 },action) {
    switch(action.type){
        case "initCharge":
            return {
                ...state,
                chargeData:action.payload.rows
            }
            break;
        default:
            return state
    }
}